//
//  CaseModel.m
//  MarryMe
//
//  Created by lanou3g on 16/1/7.
//  Copyright © 2016年 revocher. All rights reserved.
//

#import "CaseModel.h"

@implementation CaseModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}

- (CGFloat)cellHeight{
    CGSize size = CGSizeMake([UIScreen mainScreen].bounds.size.width - 10, MAXFLOAT);
    NSMutableDictionary *dic = [NSMutableDictionary dictionary];
    dic[NSFontAttributeName] = [UIFont systemFontOfSize:15];
    CGRect rect = [self.describe boundingRectWithSize:size options:NSStringDrawingUsesLineFragmentOrigin attributes:dic context:nil];
    return rect.size.height;
}
@end
